home *** CD-ROM | disk | FTP | other *** search
-
-
-
- - 1 -
-
-
-
- 3. _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s
-
- +o See the _1._2._4-_6._2 _I_R_I_X _I_M _R_e_l_e_a_s_e _N_o_t_e_s, _E_x_e_c_u_t_i_o_n-_O_n_l_y
- _E_n_v_i_r_o_n_m_e_n_t for functional changes.
-
- +o _S_e_c_u_r_i_t_y _n_o_t_e: _a_s _i_n _p_r_e_v_i_o_u_s _I_R_I_X _I_M _r_e_l_e_a_s_e_s, _t_h_e
- _M_o_t_i_f _d_e_m_o _p_r_o_g_r_a_m_s _a_r_e _s_h_i_p_p_e_d _w_r_i_t_a_b_l_e _b_y _e_v_e_r_y_o_n_e.
- _I_f _t_h_i_s _i_s _a _s_e_c_u_r_i_t_y _p_r_o_b_l_e_m _f_o_r _y_o_u, _s_e_t _t_h_e _a_c_c_e_s_s
- _t_o _w_h_a_t_e_v_e_r _y_o_u _l_i_k_e _a_f_t_e_r _y_o_u _i_n_s_t_a_l_l _t_h_e _p_r_o_g_r_a_m_s.
-
- +o This release is derived from OSF/Motif 1.2.4, and has
- those features.
-
- +o This release is based on X11R6, and has those features.
-
- +o _m_m_k_m_f has proven to be a useful script. As a result,
- it has now been put in /_u_s_r/_b_i_n/_X_1_1/_m_m_k_m_f.
-
- +o /_u_s_r/_i_n_c_l_u_d_e/{_X_m,_M_r_m,_u_i_l} are now real directories, and
- /_u_s_r/_i_n_c_l_u_d_e/_X_1_1/{_X_m,_M_r_m,_u_i_l} are symbolic links to
- them.
-
- In the last release, the situation was reversed. This
- change should have no practical effect. The symbolic
- links are provided in this release only to preserve
- compatibility. They will be removed in a future
- release.
-
- The new directory structure matches the standard
- specified way of including Motif header files:
-
- ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////XXXXmmmm....hhhh>>>>
-
- It would be prudent to change any code that uses the
- (now obsolete)
-
- ####iiiinnnncccclllluuuuddddeeee <<<<XXXX11111111////XXXXmmmm////XXXXmmmm....hhhh>>>>
-
- because the symbolic links will be removed in a future
- release.
-
- +o After installing this release, you need to do a new
- _m_a_k_e_d_e_p_e_n_d. Otherwise, your dependencies might refer
- to headers that are no longer there (but used to be
- included by other X or Motif header files).
-
- +o Some standard system header files are no longer
- included by X/Motif, so you might have to add some
- #_i_n_c_l_u_d_e files to your own application (if you needed
- the header, too).
-
-
-
-
-
-
-
-
-
-
-
-
- - 2 -
-
-
-
- +o You no longer need ----llllssssuuuunnnn on your _l_d line.
-
- +o In the previous release, there were links from X11 to
- the Xm header files _A_t_o_m_M_g_r._h, _P_r_o_t_o_c_o_l_s._h,
- _P_r_o_t_o_c_o_l_s_P._h, and _M_w_m_U_t_i_l._h. This was for backwards
- compatibility with the OSF/Motif 1.0 release, (although
- Silicon Graphics did not release a product based on
- that version). These links are no longer created. The
- files should be included as <Xm/...> instead of
- <X11/...>.
-
- +o The following header files were in Release 1.1 of
- Motif, but are now obsolete in Release 1.2:
- _E_x_t_O_b_j_e_c_t._h, _T_r_a_v_e_r_s_a_l._h, _V_a_S_i_m_p_l_e._h, _V_e_n_d_o_r_E._h,
- _V_e_n_d_o_r_E_P._h.
-
- +o A new public header file, _X_m_A_l_l._h, has been added to
- Motif. This file consists of all the documented header
- files.
-
- +o This release builds cleanly (without errors or
- warnings) with ANSI C, if you use the flag ----wwwwooooffffffff 111188882222.
- That flag suppresses warnings caused by Xt header
- files. The warnings are valid, but indicate no
- malfunction on a Silicon Graphics system.
-
- +o All references to caddr_t have been changed to
- XtPointer. This affects all callback routines and
- other routines that make reference to caddr_t.
-
- +o Many of the changes to Motif for Revision 1.2 were made
- to enable the development of internationalized
- applications and are based on X11 Release 5
- specifications. In particular OSF/Motif
- internationalization capabilities rely on the fact that
- the X and C libraries support the ``locale'' concept
- from ANSI-C or POSIX standards. To run Motif 1.2, you
- must have X11R5 installed including all the
- internationalization features.
-
- +o An XmDisplay object has been added to support per-
- display data and resources. An XmScreen object has
- been added to support per-screen data and resources.
-
- +o Tear-off behavior is enabled by setting the
- XmNtearOffModel resource to XmTEAR_OFF_ENABLED (the
- default is XmTEAR_OFF_DISABLED).
-
- There is no resource converter preregistered for
- XmNtearOffModel. To allow tear-off functionality to be
- enabled through the resource database, an application
-
-
-
-
-
-
-
-
-
-
-
- - 3 -
-
-
-
- must register its own resource converter for the
- XmNtearOffModel resource using the
- XmRepTypeInstallTearOffModelConverter function.
-
- The converter is not automatically installed because
- many applications use map or cascading callbacks to
- dynamically set the sensitivity of items within their
- menus. However, if a TearOff Menu is mapped, the
- sensitivity of its menu items must be changed
- immediately to reflect changes in other application
- states. Existing applications are unlikely to change
- menu item sensitivity in this manner, so allowing their
- menus to be torn off could allow operations to be
- enabled at unexpected times. If you activate one of
- these menu items, it might crash the application or
- cause corruption of persistent data.
-
- A torn-off menu is created in the same visual as the
- menu it was torn from. If the original menu was in the
- pop-up planes, the torn-off menu is there too. This
- means that something that is not really transient is
- now in the pop-up planes. It will be subject to all of
- the usual problems that non-transient windows in the
- pop-up planes face: limited colormap, colormap
- flashing, and damage from things that write to the
- pop-ups without benefit of a window.
-
- Note that the only bad effects are cosmetic. The
- available alternatives include:
-
- - Understand that this is the situation. In
- practice, it might not cause a real problem for
- you.
-
- - Don't enable tear-off menus if your menus are in
- the pop-up planes.
-
- - If your system has overlay planes, put your menus
- there instead.
-
- - If your system does not have overlay planes, put
- your menus in the normal planes and accept any
- redrawing caused by bringing up a menu.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-